html,
body {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#__next {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}
